import Layout from '@/layout'
export default {
  path: '/permission',
  component: Layout,
  name: 'permission',
  redirect: '/permission/menu',
  meta: {
    title: '权限管理',
    icon: 'tree'
  },
  children: [
    {
      path: 'menu',
      name: 'menu',
      component: () => import('@/views/permission/menu'),
      meta: {
        title: '菜单管理',
        icon: 'menu'
      }
    },
    {
      path: 'role',
      name: 'role',
      component: () => import('@/views/permission/role'),
      meta: {
        title: '角色管理',
        icon: 'role'

      }
    },
    {
      path: 'user',
      name: 'user',
      component: () => import('@/views/permission/user'),
      meta: {
        title: '用户管理',
        icon: 'user'
      }
    }
  ]
}
